package com.bjut.vendormgrsys.support.bo;

import lombok.Data;
import org.springframework.security.core.GrantedAuthority;

@Data
public class RoleBO implements GrantedAuthority {
    public RoleBO() {
    }

    /**
     * 主键ID
     */
    private String id;

    /**
     * 角色名
     */
    private String name;

    /**
     * 角色描述
     */
    private String desc;

    @Override
    public String getAuthority() {
        return name;
    }
}
